package com.ch.base.controller;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import com.ch.base.dto.RoomCardDto;
import com.ch.base.service.EditService;

/**
* @author    created by lbq
* @date	     2019年4月3日 上午10:14:52
**/
@RestController
public class CeseiController {
	@Autowired
	private EditService editService;

	@PostMapping("ceshi")
	public Object ceshi(@RequestBody RoomCardDto cardDto){
		editService.editCard(cardDto);
		return null;
	}
}
